package com.lvy.hczn.front.system.domain.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lvy.hczn.front.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("mqtt_record")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "wms,wcs通讯记录")
public class MqttRecord extends BaseModel<MqttRecord> {

    @ApiModelProperty("主题")
    private String topic;

    @ApiModelProperty("货箱编号")
    private String boxCode;

    @ApiModelProperty("bit位")
    private Integer state;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty(value = "是否结束：0：否；1：是（拓展，根据此字段做定时任务重发）")
    private boolean done;
}
